$found = $FALSE;

$msiexecVersion = (gcm "$env:windir\system32\msiexec.exe" -ErrorAction SilentlyContinue).FileVersionInfo.ProductVersion 

if ($msiexecVersion -ne $null)
{   
    [int[]]$version = $msiexecVersion.Split('.');

    if ($version[0] -ge 5 -OR ($version[0] -eq 4 -AND $version[1] -ge 5))
    {
        $found = $TRUE;
    }                  
}


$found;


